package net.vkits.common.push;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by ethan-liu on 2016/11/20.
 */
public class TestPushService implements PushService {
    private static final Logger logger = LoggerFactory.getLogger(TestPushService.class);

    @Override
    public boolean push2Unique4Android(String deviceToken, String ticker, String title, String text) {
        logger.info("deviceToken is: {}", deviceToken);
        logger.info("ticker is: {}", ticker);
        logger.info("title is: {}", title);
        logger.info("text is: {}", text);
        return true;
    }

    @Override
    public boolean push2List4Android(String deviceTokens, String ticker, String title, String text) {
        logger.info("deviceTokens is: {}", deviceTokens);
        logger.info("ticker is: {}", ticker);
        logger.info("title is: {}", title);
        logger.info("text is: {}", text);
        return true;
    }

    @Override
    public boolean pushCustom2Android(String deviceTokens, String ticker, String title, String text, String custom) {
        logger.info("deviceTokens is: {}", deviceTokens);
        logger.info("ticker is: {}", ticker);
        logger.info("title is: {}", title);
        logger.info("text is: {}", text);
        logger.info("custom is: {}", custom);
        return true;
    }
}
